package com.example.rbac.service;

import com.example.rbac.entity.Page;
import com.example.rbac.entity.Table;
import com.example.rbac.entity.TableField;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TablesService extends CurdService<Table>{
    List<String> findTables(String dataName);

    List<TableField> showTable(String tableName)throws Exception;

    Page<Table> getPager(Integer pageNum, Integer pageSize, String dataName);

    Integer getCount(@Param("dataName") String dataName);
}
